package general;

import general.messages.BacktrackMessage;
import general.messages.CPAMessage;
import general.messages.ConflictMessage;
import general.messages.FailMessage;
import general.messages.RestoreMessage;
import general.messages.SplitMessage;
import general.messages.SuccessMessage;

public interface Agent {

	boolean handleMessage(CPAMessage message);
	boolean handleMessage(ConflictMessage conflictMessage);
	boolean handleMessage(RestoreMessage conflictMessage);
	boolean handleMessage(FailMessage conflictMessage);
	boolean handleMessage(SuccessMessage conflictMessage);
	boolean handleMessage(SplitMessage splitMessage);
	boolean handleMessage(BacktrackMessage message);

}
